package pl.lodz.p.model;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class ContactPerson {

	@Column
	private String name;
	
	@Column
	private String phone;
	
	@Column
	private String contactStreet;

	@Column
	private int contactStreetNumber;
	
	@Column
	private int contactFlatNumber;

	@Column
	private String contactPostalCode;

	@Column
	private String contactPostalTown;
	
	@Column
	private String contactAddressType;
	
	@Column 
	private String contactEmail;
	
	public ContactPerson() {
		super();	
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getContactStreet() {
		return contactStreet;
	}

	public void setContactStreet(String contactStreet) {
		this.contactStreet = contactStreet;
	}

	public int getContactStreetNumber() {
		return contactStreetNumber;
	}

	public void setContactStreetNumber(int contactStreetNumber) {
		this.contactStreetNumber = contactStreetNumber;
	}

	public int getContactFlatNumber() {
		return contactFlatNumber;
	}

	public void setContactFlatNumber(int contactFlatNumber) {
		this.contactFlatNumber = contactFlatNumber;
	}

	public String getContactPostalCode() {
		return contactPostalCode;
	}

	public void setContactPostalCode(String contactPostalCode) {
		this.contactPostalCode = contactPostalCode;
	}

	public String getContactPostalTown() {
		return contactPostalTown;
	}

	public void setContactPostalTown(String contactPostalTown) {
		this.contactPostalTown = contactPostalTown;
	}

	public String getContactAddressType() {
		return contactAddressType;
	}

	public void setContactAddressType(String contactAddressType) {
		this.contactAddressType = contactAddressType;
	}

	public String getEmail() {
		return contactEmail;
	}

	public void setEmail(String email) {
		this.contactEmail = email;
	}

}
